package com.springboot.blog.service;

import com.springboot.blog.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface CategoryService {
    int deleteByPrimaryKey(Integer id);

    int insert(Category record);

    Category selectByPrimaryKey(Integer id);

    List<Category> selectAll();

    int updateByPrimaryKey(Category record);
}